Defibrillation testing during ICD replacement